package com.itxx.other;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Set;

public class Test {
    public static void main(String[] args) {
        HashMap<String, String> hashMap = new LinkedHashMap<>();
        hashMap.put("恭", "大");
        hashMap.put("喜", "吉");
        hashMap.put("吃", "大");
        hashMap.put("鸡", "利");
        Set<Map.Entry<String, String>> entries = hashMap.entrySet();
        for (Map.Entry<String, String> entry : entries) {
            System.out.println(entry.getValue() + "..." + entry.getKey());
        }
    }
}
